<script type="text/javascript">
    function recargar(){
        document.formid.submit();
    }
</script>
<div class="text-left sub_titulo titulos_form"><h3>{$Tr->_('add_ticket')}</h3></div>

<div class="cont_form">
<form name="formid" id="formid" action="/ticket/crear/" method="post">
<input type="hidden" name="do_submit" value="1" />
    
    <div class="form-group">
        <label>{$Tr->_('event')} (*):</label>
        <select name="evento_id" class="form-control" onchange="recargar()">
            <option value="">(Seleccione)</option>
          {html_options options=$eventos selected= $model.evento_id}
        </select>
    </div>
    
        <div class="form-group">
        <label>{$Tr->_('lugar')} (*):</label>
        <input type="text" name="lugar" class="form-control" value="{$lugares.nombre}" disabled/>
 
    </div>

    <div class="form-group">
        <p>
          <label>{$Tr->_('sector')} (*):</label>
          <select name="sector_id" class="form-control">
            <option value="">(Seleccione)</option>
            
          {html_options options=$sectores selected= $model.sector_id }
        
          </select>
        </p>
    </div>
    <div class="form-group">
      <label>{$Tr->_('price')} (*):</label>
        <input name="precio" type="text" id="precio" value="{$model.precio}" class="form-control" />
    </div>
    <div class="form-group">
        <input type="submit" name="button" id="button" value="{$Tr->_('send')}" class="btn btn-default" />
    </div>
    <div class="form-group">
        <label>{$Tr->_('required')}</label>
    </div>
</form>
  
</div>